package com.tuda.system.model.wx;

import com.tuda.system.model.result.LoginUserResult;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author ljh
 */
@Data
@ApiModel("用户端微信授权返回对象")
public class AppUserDecodeResult {

    @ApiModelProperty("账户是否绑定手机号")
    private Boolean havePhone;
    @ApiModelProperty("用户信息")
    private LoginUserResult userResult;
    @ApiModelProperty("token")
    private String token;
    @ApiModelProperty("token失效日期")
    private Date invalidDate;

    @ApiModelProperty("用户类型 -1正常用户 0游客")
    private Integer userType;

}
